@layout("/common/_container.html"){
<link href="https://pynnn.oss-cn-hangzhou.aliyuncs.com/receiveTreatment_info.css?v=20200628" rel="stylesheet">
<div class="ibox float-e-margins " style="height: 100%">
    <div class="ibox-content" id="addVisitedInfoForm" style="height: 100%;padding: 0;">
        <div id="isDealInfoForm" style="height: 100%">
            <div style="display: none">
                <input type="hidden" id="arrears" value="0">
                <input type="hidden" id="id" value="${consultantInfo.id}">
                <input type="hidden" id="customerId" value="${customerId}">
                <input type="hidden" id="reservationsId" value="${consultantInfo.reservationsId}">
                <input type="hidden" id="userName" value="${userName}">
            </div>
            <div class="doctorHeader">
                <span style="font-size: 1.5em;font-weight: bolder;">${consultantInfo.customerName}</span>
                <span>${consultantInfo.customerAge}</span>
                <span>${consultantInfo.sex}</span>
                <span>电话：${consultantInfo.customerPhone}</span>
                <span>病历：${consultantInfo.medicalRecordNumber}</span>
                <span>现场TC：${consultantInfo.fieldTc}</span>
                <span>医生：${consultantInfo.doctor}</span>
                <span><button class="btn returnBtn" type="button" onclick="parent.layer.close(parent.layer.getFrameIndex(window.name))">返回上一级</button></span>
            </div>
            <div id="contentBox" style="position: relative;padding: 10px;">
                <div class="home_box" style="position: relative">
                    <div style="text-align: center;border-top: 3px solid #ff7e00;border-bottom: 3px solid #ff7e00;">
                        <#doctor_seeDiagnosisf  id="doctor_seeDiagnosisf" list="${payServiceInfoList}"/>
                    </div>
                </div>
            </div>

        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/doctorLooked/customer_charge_info.js?v=20200628"></script>
<script>
    var payServiceInfoList = "${payServiceInfoList}";
    if(payServiceInfoList == "[]"){
        payServiceInfoList = JSON.parse(payServiceInfoList);
        if(payServiceInfoList.length <= 0){
            var img = '<div style="position: absolute;top: 60%;left: 50%;transform: translate(-50%,-50%);"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/charges.png" alt=""></div>';
            $("#contentBox").html(img)
        }
    }
</script>
@}